#ifndef UTILS_HPP
#include <cstdio>

#ifdef DEBUG
    #define DBG(X, Y) fprintf(stdout, X, Y)
#endif 

#ifdef TRACES
    #define TRACEIN fprintf(stdout, "IN %s:%d\n", __PRETTY_FUNCTION__, __LINE__)
    #define TRACEIN_DBG(X) fprintf(stdout, "IN %s:%d %s\n", __PRETTY_FUNCTION__,__LINE__.X)
    #define TRACEOUT fprintf(stdout, "OUT %s:%d\n", __PRETTY_FUNCTION__,__LINE__)
    #define TRACEOUT_DBG(X) fprintf(stdout, "OUT %s:%d %s\n", __PRETTY_FUNCTION__, __LINE__,X)
#endif    
#endif // UTILS_HPP
